#ifndef TOPO_H
#define TOPO_H

#include <QList>
#include <QMap>
#include <QString>


struct TOPO_PHY
{
    TOPO_PHY(int node, int  phy) :_node(node),  _phy( phy) , target(NULL) {}

    int _node;
    int _phy;
    TOPO_PHY * target;
//    _target_node;
  //  int _target_phy;
};

struct TOPO_NODE
{
    TOPO_NODE( )  {}


    int _id;
    QString comName;
    QString mac_id;

    QMap<int,  TOPO_PHY *> phy;

};
#endif // TOPO_H
